// src/main.js
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import request from '@/api/request' // axios 封装
const app = createApp(App)
// 全局挂载 axios 封装
app.config.globalProperties.$request = request
// 创建 pinia
const pinia = createPinia()
app.use(pinia)

app.use(router)
app.mount('#app')
